package com.ygsoft.tianlu_mall.service;

import java.util.List;
import java.util.Map;

public interface SearchService {
    List<String> getTop5Hotword();

    List<String> checkHotwordIsExist();

    void insertHotword(String search_content);

    void updateHotwordCount(String search_content);

    List<Map<String,Object>>  getGoodsDetailByLike(String search_content);

    List<Map<String, Object>> getGoodsDetailByLikeInShop(int shop_id,String search_content);

    List getGoodsIdBySearchContent(String search_content);

    List getGoodsIdByShopIdAndSearchContent(int shop_id, String search_content);
}